
Engage in hands-on malware analysis for windows 10/11, capturing and analyzing malicious code with 20 practices, reviewable line by line, and access full malware source code for learning.
Explore hands-on malware analysis from static to dynamic methods, learn to analyze, prevent, and document ransomware, keyloggers, and malicious DLLs, and set up a safe lab with full resources.
Learn what malware is, how it turns devices into zombies for DDoS and mining, and inspect infection vectors like email, USB drives, phishing, and cross-site scripting for indicators of compromise.
Set up a safe lab to run malware samples, including ransomware and keyloggers, with Windows 10 and Kali Linux VMs, Axum, VirtualBox settings, and a host-to-linux command-and-control simulation.
Set up a Windows 10 virtual machine in VirtualBox for malware analysis, mounting the ISO, allocating 9 GB RAM and 50 GB disk, installing guest additions, and disabling protections.
Install Inet SIM in Kali Linux VM, follow official docs, configure the Ethernet interface and IP/DNS settings, run the simulation, and prepare Windows traffic redirection for the next lesson.
Set up Inetsim in a Windows 10 virtual machine to redirect post requests from malware samples via a Kali Linux host, using a host-only adapter in VirtualBox for traffic analysis.
Configure virtual box to share folders and enable bi-directional clipboard between host and Windows guest, enable auto mount for permanent shares, and take snapshots before malware experiments.
Enable the Windows virtual machine's network connection by adjusting settings from host to only, then configure IPv4 to obtain an IP address and DNS server automatically to restore online access.
Identify Windows file types and architectures in a ransomware sample using Rams, CFF Explorer, and online scanners to confirm a 32-bit portable executable with a dot net signature.
Explore fingerprinting by generating cryptographic hashes to verify integrity and uniquely identify malware samples. Learn fuzzy hashing with SSD to compare similar binaries and detect modifications.
Analyze malware strings on Windows 10/11 to uncover functionality, including command and control domains, file names, and APIs, using tools like floss and bintext for static analysis.
Explore obfuscation techniques used by malware authors. Study encoders such as base64, caesar, xor, kryptos, and packers, and compare packed vs unpacked binaries with cff explorer for keylogger indicators.
Perform dynamic analysis by executing malware samples in a safe lab, setting a clean snapshot, and using debuggers to disassemble code while monitoring network, file system, registry, and processes.
Explore how social engineering tricks users into downloading and executing a Windows patch, create persistence in the startup folder, and use a downloader to install more malware.
Learn to catch a keylogger by creating a clean virtual machine baseline, snapshotting before and after malware, then analyze with PE Studio strings and keyboard hooks to reveal keystroke logging.
Catch malware traffic by tracing a keylogger's keystrokes exfiltration to a command-and-control server, using binary analysis with CFF Explorer, strings, HTTP requests, and Wireshark.
Analyze malware traffic with process hacker and process monitor to identify triggering processes, monitor connections to a command and control center, and observe timer-driven activity and file changes.
Explore how attackers hide malware in deals and use remote code injection to infect legitimate Windows processes, including creating a malicious DLL and an injector.
Dynamic link libraries, or dlls, provide export and import APIs for programs. Learn dll injection, inserting code into running processes to enable persistence and hide malware.
Learn remote dll injection in detail: obtain a victim process handle, allocate and write memory, and create a remote thread using LoadLibrary to load a dll, with hands-on code practice.
Analyze a malicious dll by executing exportable functions with rundll32 to observe behavior, using CFF Explorer to inspect exports and run functions independently.
At the end of this video you'll find an: UPDATE---> Reaching dll8 entry point.
According to x32dbg last release.
Combine x32dbg, rundll32, and procmon to debug a dll entry point, monitor actions, and reveal a keylogger that creates and writes files.
Explore what a keylogger is, its purpose, attacks, and prevention methods, and examine two proof of concept keyloggers with line by line code explanations.
Explore a proof-of-concept Windows keylogger in a C++ console project, reviewing keystroke capture via GetAsyncKeyState, console hiding, caps lock handling, and ASCII-based mapping.
Explore the development of a sophisticated keylogger, including a Facebook activity filter, keystroke storage, and a command-and-control communication module, with explanations of delegates and the keyboard listener.
Explore the Total Aware two Facebook spy module, demonstrating a keylogger that captures keystrokes when the active window contains Facebook and writes them to a log using a string builder.
Explore a proof-of-concept malware module that logs keystrokes and posts the log to a command-and-control center, with basic hiding in a Windows form app and unencrypted data.
Explore how delegates work in C Sharp, declare a delegate, assign a target method, and invoke synchronously or asynchronously to enable events and callbacks.
Finish the keyboard listener review by examining the async dispatcher, key down and key up events, windows messages, and C# events and delegates, encouraging study and experimentation before ransomware topics.
NEW MODULE!!! Fileless Malware and Living-off-the-Land Attacks (September 2026)
This course continues to evolve. The latest module explores fileless malware and Living-off-the-Land techniques, including PowerShell execution, encoded commands, trusted Windows utilities, Script Block Logging, and Event ID 4104.
As with the other modules, you will receive clear theoretical explanations, a guided practical laboratory, and supporting resources (All included in resource section). The emphasis remains on understanding attacker behavior so that it can be investigated, detected, and prevented.
Learn Malware Analysis by Understanding How Malware Works
Malware analysis becomes easier when you understand the behavior behind the evidence.
In this hands-on course, we guide you from fundamental concepts to practical static, dynamic, code, system, and network analysis. You will work with controlled proof-of-concept samples inside an isolated Windows laboratory and observe the artifacts they produce.
Instead of relying only on definitions, you will examine processes, files, registry activity, PowerShell events, network traffic, DLL behavior, persistence mechanisms, obfuscation, and other evidence that analysts use during real investigations.
The course covers:
Develop controlled proof-of-concept malware samples, for academic purposes.
Safe malware-analysis laboratory configuration.
Malware types, infection vectors, and infection stages.
Static and dynamic análisis.
Portable Executable fundamentals.
File identification, fingerprinting, strings, and obfuscation.
Process monitoring and behavioral análisis.
Malicious DLLs and DLL execution.
Keylogger behavior and detection.
Ransomware behavior, analysis, and recovery concepts.
Windows shims.
Fileless malware and Living-off-the-Land techniques.
PowerShell logging and Event ID 4104.
Command-and-Control concepts.
Network traffic análisis.
Indicators of Compromise.
A Practical, Lab-Driven Course
You will not simply watch slides. Throughout the course, you will follow guided demonstrations and reproduce the analysis process inside your own isolated laboratory.
You will learn how to:
Observe what a suspicious program changes in Windows.
Investigate processes and execution chains.
Analyze suspicious DLL activity.
Inspect network communications.
Decode and interpret encoded PowerShell commands.
Correlate system behavior with Windows event logs.
Extract useful Indicators of Compromise.
Convert technical evidence into detection opportunities.
Understand the Source Code Behind the Behavior
The course follows a simple principle:
You cannot effectively analyze behavior that you do not understand.
For this reason, selected proof-of-concept malware source code is provided for controlled academic study. We explain important components and connect the code with the resulting system and network evidence.
The objective is not to weaponize malware. The objective is to help future analysts understand how malicious behavior is implemented, how it appears during execution, and how defenders can identify it.
Included Resources
Depending on the module, the course includes:
· Rams1: A Ransomware malware sample (full code provided for academic purposes).
· DecryptRams1: Software to decrypt files encrypted by Rams1 (full code provided for academic purposes).
· Ransomware Help: A document to assist you if you get infected.
· TotalAware2: A Keylogger that can steal Meta/Facebook credentials and connect to a Command and Control Center (full code provided for academic purposes).
· TotalAware3: A Keylogger written in C++ (full code provided for academic purposes).
· Injector7: Injects malicious code into a legitimate Windows process (full code provided for academic purposes).
· Dll4: A malware sample coded in a DLL (full code provided for academic purposes).
· Dll8: Demonstrates how to use export functions in a DLL (full code provided for academic purposes).
· Practices: A document containing the lab exercises guide.
· Lab Requirements and Quick Guide: A document to help you set up a safe lab for malware analysis.
· Web Resources: A document with web pages we’ll use throughout the course.
· CriticalPatchWin1.0: A malware sample designed to trick users into downloading malware (full code provided for academic purposes).
· Defensive Security Lab Guide: A complete step-by-step document for safely reproducing and analyzing a benign fileless PowerShell execution chain. It covers telemetry configuration, Base64 encoding and decoding, Word macro execution, and correlation of Sysmon Event ID 1, Security Event ID 4688, and PowerShell Event ID 4104.
· Invoke-LabEncodedCommand ps1: A PowerShell helper script for building, running, and decoding a completely benign Base64-encoded command. It safely reproduces -EncodedCommand telemetry while creating a harmless marker file and opening Calculator for verification.
· Sysmon-lab-fileless.xml: A Sysmon configuration file designed to capture detailed process-creation telemetry during the fileless execution lab. It helps identify the WINWORD.EXE → powershell.exe parent-child chain, command-line arguments, process hashes, and other forensic evidence.
All samples and demonstrations are intended exclusively for ethical education, defensive research, and execution within an isolated laboratory.
Why Take This Course?
This course can help you build a practical foundation for further study in:
Malware analysis.
Digital forensics and incident response.
Security operations.
Threat hunting.
Windows security.
Cybersecurity research.
Whether you are beginning your cybersecurity journey or expanding your existing technical knowledge, you will gain practical experience connecting source code, execution behavior, system artifacts, logs, and network evidence.
The course is compatible with Windows 10 and Windows 11 laboratories and is part of the Sanru Online Academy.
We are committed to answering course-related questions, maintaining the material, and adding new defensive-analysis modules over time.
Learn safely, analyze methodically, and turn suspicious behavior into evidence.
This course is not intended for anyone seeking to create, weaponize, distribute, or deploy malware against real systems.